package com.peanut.wapp.persist;

import java.util.List;

import com.peanut.wapp.model.UserInfoBean;

/**
 * 用户操作接口
 * 
 * @author cuihaidong
 *
 */
public interface UserDao {

	UserInfoBean selectOneByPhone(String phone);

	int insert(UserInfoBean user);

	int selectCount();

	List<UserInfoBean> selectList(int page, int pageSize);

	int update(UserInfoBean user);
	
	UserInfoBean selectOneById(String uid);

	
}
